package com.lzy.system.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 业务模型分组
 * </p>
 *
 * @author lcc
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "SysBusGroup修改dto", description = "业务模型分组")
public class SysBusGroupOrderDTO {
    @ApiModelProperty("分组id")
    @NotBlank(message = "id不能为空")
    private String id;

    @ApiModelProperty("父id")
    @NotBlank(message = "父id不能为空")
    private String pid;

    @ApiModelProperty("分组排序")
    @NotNull(message = "分组排序不能为空")
    private Integer order_index;
    
}
